<?php
$this->breadcrumbs = array(
	$model->title,
);

$this->menu = array(
	array('label'=>'List 4-Koma', 'url'=>array('index')),
	array('label'=>'Create 4-Koma', 'url'=>array('create')),
	array('label'=>'Update 4-Koma', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete 4-Koma', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete', 'id'=>$model->id), 'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage 4-Koma', 'url'=>array('admin')),
);
?>

<h1><?php echo $model->title; ?></h1>

<?php $this->renderPartial('_view', array('data'=>$model)); ?>

<h1>Chapters</h1>

<?php
$chapter = new Chapter('search');
$chapter->mangaId = $model->id;
$properties = array(
	'dataProvider'=>$chapter->search(),
	'itemView'=>'application.views.chapter._view',
);
$this->widget('zii.widgets.CListView', $properties);
?>